﻿using ElectronicGovernment.Application.Services;
using ElectronicGovernment.Domain.Entities;
using ElectronicGovernment.Domain.Repositories;
using Moq;
using NUnit.Framework;

namespace ElectronicGovernment.Tests.Application.Services
{
    [TestFixture]
    public class GovernmentServiceTest
    {
        [Test]
        public void Can_create_new_government()
        {
            IGovernmentRepository governmentRepositoryMock = new Mock<IGovernmentRepository>().Object;

            var government = new Government();
            var governmentService = new GovernmentService(governmentRepositoryMock);
            governmentService.CreateGovernment(government);
        }
    }
}